import type { CSSProperties } from "react";

export interface TagInputProps {
  value: Array<string>;
  options: string[] | ((v?: string) => Promise<string[]>);
  maxLength?: number;
  invalid?: boolean;
  disabled?: boolean;
  style?: CSSProperties;
  className?: string;
  onChange?: (value: string[]) => void;
  onInputChange?: (text: string) => void;
  getPopupContainer?: () => HTMLElement;
}
